#include <iostream>

#include "TestFIFO32DMAReader.h"
#include "BufferedVMEReader.h"
#include "sys/types.h"

using namespace std;

int main(int argc,char *argv[])
{
    TestFIFO32DMAReader tf32dr(0);
    BufferedVMEReader bvr(30,3,&tf32dr);

    u_int32_t mist[100];
    
    for(int i=0; i<100; i++)
	cout << bvr.readWord() << endl;

    bvr.read(100,mist);

    for(int i=0; i<100; i++)
	cout << "mist[" << i << "]=" << mist[i] << endl;

}
